/**
 * @作者 Lucas
 * @创建时间 2020/5/17 19:52
 */
package com.lucas.springboot_restful_api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lucas.springboot_restful_api.core.UnifyResponse;
import com.lucas.springboot_restful_api.dto.UserLoginDTO;
import com.lucas.springboot_restful_api.dto.UserRegisterDTO;
import com.lucas.springboot_restful_api.model.User;


public interface UserService extends IService<User> {

    UnifyResponse loginByEmail(UserLoginDTO userLoginDTO) throws Exception;

    UnifyResponse registerByEmail(UserRegisterDTO userRegisterDTO) throws Exception;

    User selectUserByUnifyId(Long unifyUid);

}
